package com.itcast.abstractdemo.Demo01;

/*
要写注释哦!!!
*/
public class Test {
    public static void main(String[] args) {
        A a=new B();
        a.demo();
        a.demo01();
        if (a instanceof B){
            B b=(B)a;
            b.m();
        }
    }
}
